package com.witdata.common.service.subject;

import com.witdata.common.domain.dto.SqlCheckDto;
import com.witdata.common.domain.dto.SubjectDto;
import com.witdata.mysql.domain.entity.TSqlCheck;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface SubjectService {
    List<SubjectDto> getSubjectList();

    List<SubjectDto> getSubjectList(Long userId);

    void createSubject(String name, MultipartFile avatar);

    SubjectDto getSubjectInfo();

    SubjectDto getSubjectInfoById(Long id);

    void removeSubject(Long id);

    List<SqlCheckDto> getSQLCheckList(Long subjectId);
}
